using System;
namespace time
{
    public class work_princess
    {
        public static void Main()
        {
            Random rd = new Random();
            string[] fathers = new string[2] { "kudy", "other" };
            Princess.Instance.Baby = new Baby() { Father = fathers[rd.Next(0, 2)] };
            Console.WriteLine(GetMood(Princess.Instance.Baby));
            Console.ReadKey();
        }

        static Mood GetMood(Baby baby)
        {
            switch (baby.Father)
            {
                case "other":
                    return Mood.Sad;
                case "kudy":
                    return Mood.Sadder;
                default: throw new InvalidOperationException();
            }
        }
    }
    public enum Mood { Sad, Sadder }
    public class Baby { public string Father { get; set; } }
    public sealed class Princess
    {
        public static readonly Princess Instance = new Princess();
        private Princess() { }
        public Baby Baby { get; set; }
    }
}